<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
class Mod_jam_masuk extends CI_Model{ 

	var $tabel_name = 'jam_masuk';

    function __construct() {
        parent::__construct();
    }

	public function getall(){
		$ambil_data = $this->db->get('jam_masuk');//mengambil tabel master_user
		
		if ($ambil_data->num_rows() > 0 ){ //jika data lebih dari 0
			foreach ($ambil_data->result() as $data){
				$hasil[] = $data;
			}
			return $hasil;
		}
	}

}